﻿using BootstrapBlazor.Components;
using CodeMan;
using CodeMan.Application; 
using CodeMan.Application.Contracts.ClassGens;
using CodeMan.EntityFrameworkCore;
using CodeMan.EntityFrameworkCore.Other;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Autofac;
using Volo.Abp.Modularity;

namespace CodeManDesktopBlazor
{

    [DependsOn(typeof(CodeManApplicationModule))] 
    [DependsOn(typeof(CodeManApplicationContractsModule))]
    [DependsOn(typeof(CodeManEntityFrameworkCoreOtherModule))]
    [DependsOn(typeof(CodeManEntityFrameworkCoreDbMigrationsModule))]
    [DependsOn(typeof(AbpAutofacModule))]
    class CodeManDesktopModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        { 
            context.Services.AddSingleton<MainWindow>();
        }

    }
}
